package com.wp.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.wp.entity.Permission;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @author: WangPeng
 * @createTime: 2023/01/03 11:33
 * @description:
 * @version: v1.0
 */
@Component
public interface PermissionDao extends BaseMapper<Permission> {

    List<Permission> findByUserId(@Param("userId") Integer userId);

}

